package com.lexian.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lexian.entity.Store;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 门店商品业务类
 */
@Data
public class GoodsStoreVo {
    @ApiModelProperty(value = "门店商品编号")
    @TableId(value = "goodsstore_id", type = IdType.AUTO)
    private Long goodsstoreId;

    @ApiModelProperty(value = "商品编号")
    private Long goodsId;

    @ApiModelProperty(value = "商品所属门店编号")
    private String storeId;
    @ApiModelProperty(value = "商品现售价")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "商品原售价")
    private BigDecimal realPrice;

    @ApiModelProperty(value = "商品库存数量")
    private Integer goodsAmont;

    @ApiModelProperty(value = "商品库存告警(锁定)线")
    private Integer goodsLockamot;

    @ApiModelProperty(value = "商品状态。1：上架；0：下架")
    private Integer type;
}
